<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Zctype_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-zctype_id" data-rule="required" disabled data-source="fas/zctype/index" class="form-control selectpage" name="row[zctype_id]" type="text" value="{$row.zctype_id}">
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Num1')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-num1" class="form-control" disabled name="row[num1]" type="number" value="{$row.num1}">
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">调拨设备:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-zcdevicenames" class="form-control" disabled rows="5" cols="50">{$zcdevicenames}</textarea>
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Fgroup')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-fgroup" class="form-control" data-rule="required" disabled name="row[fgroup]" type="text" value="{$row.fgroup}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Ffactory')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-ffactory" class="form-control" data-rule="required" disabled name="row[ffactory]" type="text" value="{$row.ffactory}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Sqdw')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-sqdw" class="form-control" data-rule="required" disabled name="row[sqdw]" type="text" value="{$row.sqdw}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Sydd')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-sydd" class="form-control" data-rule="required" disabled name="row[sydd]" type="text" value="{$row.sydd}">
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Dbmanager')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-dbmanager" class="form-control" disabled name="row[dbmanager]" type="text" value="{$row.dbmanager}">
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Dbstate')}:</label>
        <div class="col-xs-12 col-sm-8">

            <div class="radio">
                {foreach name="dbstateList" item="vo"}
                <label for="row[dbstate]-{$key}"><input id="row[dbstate]-{$key}"  name="row[dbstate]" type="radio" value="{$key}" {in name="key" value="$row.dbstate"}checked{/in} /> {$vo}</label>
                {/foreach}
            </div>

        </div>
    </div>


    <!--<div class="form-group">-->
        <!--<label class="control-label col-xs-12 col-sm-2">{:__('Rukudate')}:</label>-->
        <!--<div class="col-xs-12 col-sm-8">-->
            <!--<input id="c-rukudate" class="form-control datetimepicker" data-date-format="YYYY-MM-DD" data-use-current="true" name="row[rukudate]" type="text" value="{$row.rukudate}">-->
        <!--</div>-->
    <!--</div>-->
    <!--<div class="form-group">-->
        <!--<label class="control-label col-xs-12 col-sm-2">{:__('Ysdate')}:</label>-->
        <!--<div class="col-xs-12 col-sm-8">-->
            <!--<input id="c-ysdate" class="form-control datetimepicker" data-date-format="YYYY-MM-DD" data-use-current="true" name="row[ysdate]" type="text" value="{$row.ysdate}">-->
        <!--</div>-->
    <!--</div>-->


    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
